package com.hzdesk.media.matvector.koreabatch.client.my_paperless.logic.view;

import android.os.Bundle;
import android.support.v4.view.ViewPager;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.TextView;

import com.hzdesk.media.matvector.koreabatch.client.my_paperless.R;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.base.BaseActivity;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.logic.contract.IGuidePageContract;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.logic.persenter.GuidePagePersenter;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.third.Eyes;
import com.hzdesk.media.matvector.koreabatch.client.my_paperless.utils.VirtualButtonsUtils;

import java.util.List;

import butterknife.BindView;
import butterknife.ButterKnife;

public class GuidePageActivity extends AppCompatActivity implements IGuidePageContract.IGuidePageView {

    @BindView(R.id.activity_guide_page_viewpager)
    ViewPager activityGuidePageViewpager;
    @BindView(R.id.activity_guide_page_point_1)
    TextView activityGuidePagePoint1;
    @BindView(R.id.activity_guide_page_point_2)
    TextView activityGuidePagePoint2;
    @BindView(R.id.activity_guide_page_point_3)
    TextView activityGuidePagePoint3;

    private GuidePagePersenter guidePagePersenter = new GuidePagePersenter(this);

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);// 隐藏标题
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,WindowManager.LayoutParams.FLAG_FULLSCREEN);// 设置全屏
        Eyes.setStatusBarColor(this, 0xffffff);
        VirtualButtonsUtils.hideNavKey(this);
        setContentView(R.layout.activity_guide_page);
        ButterKnife.bind(this);
        guidePagePersenter.initView(activityGuidePageViewpager, getSupportFragmentManager(),this);
        guidePagePersenter.initPoints(activityGuidePagePoint1,activityGuidePagePoint2,activityGuidePagePoint3);

    }


}
